Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GUACAMOLE-1932: Add no-arg constructor to fix guice error on guacamole-auth-json extension load. #962

Conversation

jmuehlner
Copy link
Contributor

This fixes the error detailed in the ticket:

22:12:18.436 [main] ERROR o.a.g.extension.ProviderFactory - authentication provider extension failed to start: Unable to create injector, see the following errors:

1) [Guice/MissingConstructor]: No injectable constructor for type RequestValidationService.

class RequestValidationService does not have a @Inject annotated constructor or a no-arg constructor.

Requested by:
1  : RequestValidationService.class(RequestValidationService.java:39)
     at JSONAuthenticationProviderModule.configure(JSONAuthenticationProviderModule.java:80)

Learn more:
  https://github.com/google/guice/wiki/MISSING_CONSTRUCTOR

1 error

======================
Full classname legend:
======================
JSONAuthenticationProviderModule: "org.apache.guacamole.auth.json.JSONAuthenticationProviderModule"
RequestValidationService:         "org.apache.guacamole.auth.json.RequestValidationService"
========================
End of classname legend:
========================

@jmuehlner jmuehlner marked this pull request as draft March 19, 2024 22:18
@jmuehlner jmuehlner closed this Mar 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant